package com.example.houseman.service;

import com.org.vo.SysUserVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "houtai", url = "localhost:8095/")
public interface UserService {

    @RequestMapping("/sys/user/findByUserName")
    SysUserVo findByUserName(@RequestBody String username);
}